kanzi::StartupProfilerRegistry Class Reference

The registry of startup profilers. More...

#include <kanzi/core/profiling/startup_profiler_registry.hpp>

Inheritance diagram for kanzi::StartupProfilerRegistry:
kanzi::ProfilerRegistry< IntervalProfiler >

Public Member Functions

 StartupProfilerRegistry ()
 
- Public Member Functions inherited from kanzi::ProfilerRegistry< IntervalProfiler >
void registerProfiler (ProfilerSharedPtr profiler)
 Adds a new profiler to the registry. More...
 
void unregisterProfiler (ProfilerSharedPtr profiler)
 Removes a profiler from the registry. More...
 
ProfilerContainer::const_iterator beginProfilers () const
 Gets iterator to the begging of the profiler container. More...
 
ProfilerContainer::const_iterator endProfilers () const
 Gets iterator to the end of the profiler container. More...
 

Public Attributes

IntervalProfilerSharedPtr m_loadPluginsProfiler
 Plugins loading profiler. More...
 
IntervalProfilerSharedPtr m_registerMetadataProfiler
 Metadata registration profiler. More...
 
IntervalProfilerSharedPtr m_initializationProfiler
 Application initialization profiler. More...
 
IntervalProfilerSharedPtr m_initializeGraphicsProfiler
 Graphics initialization profiler. More...
 
IntervalProfilerSharedPtr m_initializeGLProfiler
 Startup GL initialization profiler. More...
 
IntervalProfilerSharedPtr m_registerDefaultResourcesProfiler
 Default resource registration profiler. More...
 
IntervalProfilerSharedPtr m_loadPrefabProfiler
 Prefabs loading profiler. More...
 
IntervalProfilerSharedPtr m_instantiatePrefabProfiler
 Prefabs instantiation profiler. More...
 
IntervalProfilerSharedPtr m_attachPrefabProfiler
 Prefabs attachment profiler. More...
 
IntervalProfilerSharedPtr m_resetRendererProfiler
 Renderer reset profiler. More...
 
IntervalProfilerSharedPtr m_initializeLoadingThreadsProfiler
 Loading threads initialization profiler. More...
 
IntervalProfilerSharedPtr m_registerRuntimeAssetsProfiler
 Runtime assets registration profiler. More...
 
IntervalProfilerSharedPtr m_openKzbProfiler
 Startup kzb file opening profiler. More...
 

Additional Inherited Members

- Public Types inherited from kanzi::ProfilerRegistry< IntervalProfiler >
typedef shared_ptr< IntervalProfilerProfilerSharedPtr
 The profiler shared point type. More...
 
typedef unordered_set< ProfilerSharedPtrProfilerContainer
 The profiler container type. More...
 
- Protected Attributes inherited from kanzi::ProfilerRegistry< IntervalProfiler >
ProfilerContainer m_registeredProfilers
 The registered profilers. More...
 

Detailed Description

The registry of startup profilers.

Profilers in this class are available only in the Kanzi profiling build.

Constructor & Destructor Documentation

kanzi::StartupProfilerRegistry::StartupProfilerRegistry ( )
inlineexplicit

Member Data Documentation

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_loadPluginsProfiler

Plugins loading profiler.

On startup, measures the time used to load Kanzi Engine plugins.

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerMetadataProfiler

Metadata registration profiler.

On startup, the profiler measures the time used to register metadata.

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializationProfiler

Application initialization profiler.

On startup, the profiler measures the time used to initialize an application.

See also
Application::initialize().
IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeGraphicsProfiler

Graphics initialization profiler.

On startup, the profiler measures the time used to initialize the graphics stack.

See also
GlGraphicsOutput.
IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeGLProfiler

Startup GL initialization profiler.

On startup, the profiler measures the time used to initialize the graphics library.

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerDefaultResourcesProfiler

Default resource registration profiler.

On startup, the profiler measures the time used to register the resource ids for the Kanzi default resources, such as BackgrounBrush, NullBrush, WhiteBrush, BlackBrush, and so on. This profiler measures only the amount of time it takes to register these resources, not the amount of time it takes to load these resources.

See also
registerDefaultResources().
IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_loadPrefabProfiler

Prefabs loading profiler.

On startup, the profiler measures the time used to loading prefabs.

See also
PrefabTemplate.
IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_instantiatePrefabProfiler

Prefabs instantiation profiler.

On startup, the profiler measures the time used to instantiate prefabs.

See also
PrefabTemplate.
IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_attachPrefabProfiler

Prefabs attachment profiler.

On startup, the profiler measures the time used to attach prefabs to nodes.

See also
PrefabTemplate.
IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_resetRendererProfiler

Renderer reset profiler.

On startup, the profiler measures the time used by the Renderer3D::reset() method, which invalidates all the internal caches of the renderer for the GPU state.

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeLoadingThreadsProfiler

Loading threads initialization profiler.

On startup, the profiler measures the time used to initialize loading threads.

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerRuntimeAssetsProfiler

Runtime assets registration profiler.

On startup, the profiler measures the time used to open the kzb file with the Kanzi runtime assets, which contains assets, such as the default shaders and materials for the default shaders. Kanzi runtime assets are embedded in the application executable. This profiler does not include the amount of time it takes to load these resources. Kanzi loads resources only when your application needs them.

See also
registerRuntimeAssets().
IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_openKzbProfiler

Startup kzb file opening profiler.

On startup, the profiler measures the time used to open the startup kzb file.


The documentation for this class was generated from the following file: